package com.kaibes.admin.user.safe;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.kaibes.web.admin.AdminMenu;
import com.kaibes.web.admin.AdminMenuRes;

@Configuration
public class UserSafeInit {

    public final static String KEY = "user-safe-manage";
    
    @Bean
    public AdminMenu userSafeMenu() {
        AdminMenu menu = new AdminMenu();
        menu.setKey(KEY);
        menu.setName("用户管理");
        menu.setIcon("fas fa-users-cog");
        menu.setHref("/admin/user/safe");
        menu.setSort(3);
        menu.setParentKey(AdminMenuRes.MENU_USER);
        return menu;
    }
    
}
